Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Beanstalkd para iniciar cuando el sistema se inicia o reinicia, cómo descomentar "INICIAR sí" en Centos

Estoy usando Beanstalkd para la cola en Laravel en Centos 6 y he visto que necesito descomentar el siguiente START=yes para que Beanstalkd se inicie cuando el sistema se inicia o reinicia

Cuando ejecuto este comando nano /etc/default/beanstalkd desde el directorio raíz, no puedo encontrar el archivo. o déjeme si hay otra manera de habilitar eso.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Para que php escuche todo el tiempo, debe tener instalado Supervisord y luego hacer lo siguiente

  • Localice este archivo supervisord.conf ejecutando este comando: find / -name supervisord.conf
  • Obtienes la ruta como esta /etc/supervisord.conf
  • Edite el archivo sudo nano /etc/supervisord.conf
  • Hacer autostart=true y autorestart=true
  • En el fondo, tener algo como esto

    [program:laravel-queue-listener] command=php

    /var/www/YourProjectNameHere/artisan queue:listen --env=prod --timeout=0

  • Luego reinicie supervisord: sudo service supervisord restart

  • Reinicie beanstalkd también: sudo service beanstalkd restart

Todas las colas se escucharán automáticamente sin tener que ejecutar php artisan queue:listen --timeout=0 manualmente

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!